﻿/*
 * Created by SharpDevelop.
 * User: chasanek
 * Date: 04-4-2011
 * Time: 22:45
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace legends
{
	/// <summary>
	/// Description of Class1.
	/// </summary>
	public class GameConstants
	{
		private int fontSize =  8;
		private int resWidth;
		private int resHeight;
        private int mapWidth;
        private int mapHeight;
        private String difficulty;
		public GameConstants(int fontSize, int resWidth, int resHeight)
		{
			this.fontSize=fontSize;
			this.resWidth=resWidth;
			this.resHeight=resHeight;
            this.difficulty = "normal";		
		}
		public int getFontSize(){
			return this.fontSize;		
		}

		public int getResWidth(){
			return this.resWidth;		
		}
		public int getResHeight(){
			return this.resHeight;		
		}
        public String getDifficulty()
        {
            return this.difficulty;
        }
        public void setDifficulty(String dif)
        {
            this.difficulty = dif;
        }
		public void setRes(int width, int height){
			this.resHeight=height;
			this.resWidth=width;
       /*     switch (resHeight)
            {
                case 1080: this.mapHeight=15; break;
                case 1050: this.mapHeight=15; break;
            }
            switch (resWidth)
            {
                case 1920: this.mapWidth=25; break;
                case 1680: this.mapWidth=20; break;
            }*/
		}

        public void setMapSize(int width, int height)
        {
            this.mapHeight = height;
            this.mapWidth = width;
        }
        
        public int getMapWidth()
        {
            return this.mapWidth;
        }

        public int getMapHeight()
        {
            return this.mapHeight;
        }		
	}
}
